package fr.ul.ade.secunde.sync;

import android.provider.BaseColumns;
import fr.ul.ade.secunde.database.AdeWebContract;

/**
 * Interface regroupant des constantes pour la récupération des cours des
 * emplois du temps pour la synchronisation.
 * 
 * @author Michaël Schnell
 * @since Jul 28, 2013
 * 
 * @version 1.3
 */
public interface LessonQuery {
	final String[] LESSON_PROJECTION = { BaseColumns._ID,
			AdeWebContract.Lesson.LESSON_TITLE,
			AdeWebContract.Lesson.LESSON_DATE,
			AdeWebContract.Lesson.LESSON_START_TIME,
			AdeWebContract.Lesson.LESSON_END_TIME,
			AdeWebContract.Lesson.LESSON_SCHEDULE,
			AdeWebContract.Lesson.LESSON_CHANGE,
			AdeWebContract.Lesson.LESSON_ROOMS,
			AdeWebContract.Lesson.LESSON_GROUPS,
			AdeWebContract.Lesson.LESSON_TEACHERS,
			AdeWebContract.Lesson.LESSON_COLOR,
			AdeWebContract.Lesson.LESSON_NOTE,
			AdeWebContract.Lesson.LESSON_GUID,
			AdeWebContract.Lesson.LESSON_DELETED,
			AdeWebContract.Lesson.LESSON_LAST_UPDATE,
			AdeWebContract.Lesson.LESSON_OLD_DATE,
			AdeWebContract.Lesson.LESSON_OLD_START_TIME,
			AdeWebContract.Lesson.LESSON_OLD_END_TIME,
			AdeWebContract.Lesson.LESSON_OLD_ROOMS,
			AdeWebContract.Lesson.LESSON_CREATED };

	final String[] PROJECTION = { BaseColumns._ID,
			AdeWebContract.Lesson.LESSON_TITLE,
			AdeWebContract.Lesson.LESSON_DATE,
			AdeWebContract.Lesson.LESSON_START_TIME,
			AdeWebContract.Lesson.LESSON_END_TIME,
			AdeWebContract.Lesson.LESSON_SCHEDULE,
			AdeWebContract.Lesson.LESSON_CHANGE,
			AdeWebContract.Lesson.LESSON_ROOMS,
			AdeWebContract.Lesson.LESSON_GROUPS,
			AdeWebContract.Lesson.LESSON_TEACHERS,
			AdeWebContract.Lesson.LESSON_COLOR,
			AdeWebContract.Lesson.LESSON_NOTE,
			AdeWebContract.Lesson.LESSON_GUID,
			AdeWebContract.Lesson.LESSON_DELETED,
			AdeWebContract.Lesson.LESSON_LAST_UPDATE,
			AdeWebContract.Lesson.LESSON_OLD_DATE,
			AdeWebContract.Lesson.LESSON_OLD_START_TIME,
			AdeWebContract.Lesson.LESSON_OLD_END_TIME,
			AdeWebContract.Lesson.LESSON_OLD_ROOMS,
			AdeWebContract.Lesson.LESSON_CREATED,
			AdeWebContract.Lesson.LESSON_ORDER,
			AdeWebContract.Lesson.LESSON_TYPE };

	final int _ID = 0;
	final int LESSON_TITLE = 1;
	final int LESSON_DATE = 2;
	final int LESSON_START_TIME = 3;
	final int LESSON_END_TIME = 4;
	final int LESSON_SCHEDULE = 5;
	final int LESSON_CHANGE = 6;
	final int LESSON_ROOMS = 7;
	final int LESSON_GROUPS = 8;
	final int LESSON_TEACHERS = 9;
	final int LESSON_COLOR = 10;
	final int LESSON_NOTE = 11;
	final int LESSON_GUID = 12;
	final int LESSON_DELETED = 13;
	final int LESSON_LAST_UPDATE = 14;
	final int LESSON_OLD_DATE = 15;
	final int LESSON_OLD_START_TIME = 16;
	final int LESSON_OLD_END_TIME = 17;
	final int LESSON_OLD_ROOMS = 18;
	final int LESSON_CREATED = 19;
	final int LESSON_ORDER = 20;
	final int LESSON_TYPE = 21;

	final String[] DISPLAY_PROJECTION = { BaseColumns._ID,
			AdeWebContract.Lesson.LESSON_SCHEDULE,
			AdeWebContract.Lesson.LESSON_ID,
			AdeWebContract.Lesson.LESSON_ORDER,
			AdeWebContract.Lesson.LESSON_DATE,
			AdeWebContract.Lesson.LESSON_END_TIME,
			AdeWebContract.Lesson.LESSON_TYPE };

	final int DISPLAY_ID = 0;
	final int LESSON_DISPLAY_SCHEDULE = 1;
	final int LESSON_DISPLAY_ID = 2;
	final int LESSON_DISPLAY_ORDER = 3;
	final int LESSON_DISPLAY_DATE = 4;
	final int LESSON_DISPLAY_END_TIME = 5;
	final int LESSON_DISPLAY_TYPE = 6;

}// interface LessonQuery